﻿namespace Application.Infrastructure
{

    public class Log : ILog
    {
        public void Debug(object message)
        {

        }

        public void Error(object message)
        {
        }

        public void Info(object message)
        {
        }

        public void Warn(object message)
        {
        }
    }

    /// <summary>
    /// 日志接口
    /// </summary>
    public interface ILog
    {
        /// <summary>
        /// 调试
        /// </summary>
        /// <param name="message"></param>
        void Debug(object message);
        /// <summary>
        /// 异常
        /// </summary>
        /// <param name="message"></param>
        void Error(object message);
        /// <summary>
        /// 用户日志
        /// </summary>
        /// <param name="message"></param>

        void Info(object message);
        /// <summary>
        /// 警告日志
        /// </summary>
        /// <param name="message"></param>

        void Warn(object message);

    }
}
